import Vue from 'vue';
import Router from 'vue-router';

import List from '@/components/List';
import User from '@/components/User';
import End from '@/components/End';
import Player from '@/components/Player';
import Report from '@/components/Report';
import Test from '@/components/Test';
import BackPlayList from '@/components/BackPlayList';
import YuGao from '@/components/YuGao';
import BackPlayer from '@/components/BackPlayer';

Vue.use( Router )

export default new Router( {
	routes: [ {
			path: '/',
			name: 'List',
			component: List
		},
		{
			path: '/user',
			name: 'User',
			component: User
		},
		{
			path: '/end',
			name: 'End',
			component: End
		},
		{
			path: '/player',
			name: 'Player',
			component: Player
		},
		{
			path: '/report',
			name: 'Report',
			component: Report
		},
		{
			path: '/test',
			name: 'Test',
			component: Test
		},
		{
			path: '/backPlayList',
			name: 'BackPlayList',
			component: BackPlayList
		},
		{
			path: '/yuGao',
			name: 'YuGao',
			component: YuGao
		},
		{
			path: '/backPlayer',
			name: 'BackPlayer',
			component: BackPlayer
		}
	]
} )